<template>
    <Table :columns="columns14" :data="data5" border :span-method="handleSpan"></Table>
</template>
<script>
export default {
  data () {
    return {
      columns14: [
        {
          title: '项目',
          key: 'id',
          align: 'center',
          width: 200
        },
        {
          title: '收治',
          key: 'country11',
          align: 'center',
          width: 200,
          children: [
            {
              title: '类型',
              key: 'country',
              align: 'center',
              width: 300
            },
            {
              title: '数量',
              key: 'szsl',
              align: 'center',
              width: 200
            }]
        },
        {
          title: '疑似病例数量',
          key: 'ysblsl',
          align: 'center',
          width: 200
        },
        {
          title: '核酸检测',
          key: 'address',
          align: 'center',
          width: 200,
          children: [
            {
              title: '阴性数量',
              key: 'hsyxsl',
              align: 'center',
              width: 200
            },
            {
              title: '阳性数量',
              key: 'hsyangxsl',
              align: 'center',
              width: 200
            }]
        }
      ],
      data5: [
        {
          country: 'CZ682',
          szsl: 2,
          ysblsl: 0,
          hsyxsl: 2,
          hsyangxsl: 0
        }, {
          country: 'CZ346',
          szsl: 4,
          ysblsl: 0,
          hsyxsl: '4个待回报',
          hsyangxsl: 0
        }, {
          country: 'KE831',
          szsl: 2,
          ysblsl: 0,
          hsyxsl: 2,
          hsyangxsl: 0
        }, {
          country: '其他(隔离点、三地、居家)',
          szsl: 9,
          ysblsl: 0,
          hsyxsl: '5(4个待回报)',
          hsyangxsl: 0
        }, {
          country: '当日小计',
          szsl: 17,
          ysblsl: 0,
          hsyxsl: '9(8个待回报)',
          hsyangxsl: 0
        }
      ]
    }
  },
  methods: {
    handleSpan ({ row, column, rowIndex, columnIndex }) {
    }
  }
}
</script>
